#ifndef SOFTWARE_PWM_LIBRARY_H
#define SOFTWARE_PWM_LIBRARY_H

#include <php.h>

#include "software_pwm_library.h"

//software-pwm-library

//software pwm library
ZEND_BEGIN_ARG_INFO(arginfo_softPwmCreate, 0)
    ZEND_ARG_INFO(0, pin)
    ZEND_ARG_INFO(0, initialValue)
    ZEND_ARG_INFO(0, pwmRange)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO(arginfo_softPwmWrite, 0)
    ZEND_ARG_INFO(0, pin)
    ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()
//end software pwm library


PHP_FUNCTION(softPwmCreate);
PHP_FUNCTION(softPwmWrite);

//end for software-pwm-library

#endif